package com.whfc.emp.service;


import com.whfc.common.exception.BizException;
import com.whfc.emp.dto.AppEmpBankDTO;
import com.whfc.emp.param.AppEmpBankAddParam;
import com.whfc.emp.param.AppEmpBankEditParam;
import com.whfc.emp.param.EnableBankParam;

import java.util.List;

/**
 * @ClasssName AppEmpBankService
 * @Description 人员银行账户
 * @Author hw
 * @Date 2020/12/31 9:40
 * @Version 1.0
 */
public interface AppEmpBankService {

    /**
     * 人员银行账户列表
     *
     * @param empId
     * @return
     */
    List<AppEmpBankDTO> list(Integer empId)throws BizException;

    /**
     * 添加银行账户
     *
     * @param param
     */
    void add(AppEmpBankAddParam param)throws BizException;

    /**
     * 编辑银行账户
     *
     * @param param
     */
    void edit(AppEmpBankEditParam param)throws BizException;

    /**
     * 启用禁用银行账户
     *
     * @param param
     */
    void enable(EnableBankParam param)throws BizException;

    /**
     * 删除银行账户
     *
     * @param bankId
     */
    void del(Integer bankId)throws BizException;
}
